import { Node, Prefab, _decorator } from "cc";
import { BaseCtrl } from "../../fwk/puremvc/BaseCtrl";
import { RCtrl } from "../../fwk/puremvc/RegistFunc";
import { Item } from "../Item";
import { GameFacade } from "../../fwk/puremvc/GameFacade";

const { ccclass, property } = _decorator;

@ccclass('ItemCtrl')
@RCtrl(GameFacade)
export class ItemCtrl extends BaseCtrl {
    items: Item[] = [];
    @property(Prefab)
    itemPrefab: Prefab;
    @property(Node)
    itemFolder: Node;
    @property(Node)
    ld: Node;//left down
    @property(Node)
    ru: Node;//right up
}


